﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SuperX.DeviceService.Model
{
    public class DeviceapiModel
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        public string AssectCode { get; set; }

        /// <summary>
        /// 实体参数
        /// </summary>
        public ApiParameter Parameter { get; set; }
    }

    public class ApiParameter
    {
        public string pcb_sn { get; set; }
        public int pcb_track_line { get; set; }
        public string pcb_test_time { get; set; }
        public string pcb_project_name { get; set; }
        public string pcb_user_result { get; set; }
        public string pcb_robot_result { get; set; }
        public string pcb_final_result { get; set; }
        public string pcb_repair_user { get; set; }
        public int pcb_board_number { get; set; }
        public int pcb_board_user_ng_number { get; set; }
        public int pcb_board_robot_ng_number { get; set; }
        public int pcb_comp_number { get; set; }
        public int pcb_comp_user_ng_number { get; set; }
        public int pcb_comp_robot_ng_number { get; set; }
        public List<board_data> board_data { get; set; }
    }

    public class board_data
    {
        public string board_sn { get; set; }
        public string board_no { get; set; }
        public string board_user_result { get; set; }
        public string board_final_result { get; set; }
        public List<comp_data> comp_data { get; set; }
    }

    public class comp_data
    {
        public string comp_designator { get; set; }
        public string comp_part { get; set; }
        public string comp_package { get; set; }
        public string comp_type { get; set; }
        public string comp_robot_code { get; set; }
        public string comp_robot_result { get; set; }
        public string comp_user_code { get; set; }
        public string comp_user_result { get; set; }
    }
}